package com.service.impl;

import com.mapper.CriticMapper;
import com.pojo.Critic;
import com.service.CriticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Zhengjz
 * @version 1.0
 * @className CriticServiceimpl
 * @date 2021/3/5 13:28
 */
@Service
public class CriticServiceimpl implements CriticService {
    @Autowired
    private CriticMapper criticMapper;



    @Override
    public List<Critic> findCritic(String orderId) {
        return criticMapper.findCritic(orderId);
    }

    @Override
    public int addPingLun(Critic critic) {
        return criticMapper.addPingLun(critic);
    }
}
